package com.sc.nft.entity.dto;

import com.sc.nft.enums.EcologyPoolLinkTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class EcologyPoolExcellentBrandBatchAllocatePointsDaoDTO {
    @ApiModelProperty("品牌id")
    @NotNull(message = "品牌id不能为空")
    private Long daoId;

    @ApiModelProperty("数量")
    @NotNull(message = "数量不能为空")
    @Min(value = 0, message = "数量不能小于0")
    private BigDecimal linkCount;

    @ApiModelProperty("物质类型")
    @NotNull(message = "物质类型不能为空")
    private EcologyPoolLinkTypeEnum linkType;
}
